package com.ruoyi.common.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里云OSS配置类
 * 
 * @author ruoyi
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliyunOssConfig
{
    /** OSS服务端点 */
    private String endpoint;
    
    /** 访问密钥ID */
    private String accessKeyId;
    
    /** 访问密钥密码 */
    private String accessKeySecret;
    
    /** 存储桶名称 */
    private String bucketName;
}
